package behaviour.template.template_demo1;

/**
 * @author yeyangtao created at 2020/7/7 17:41
 */
public abstract class Game {
    abstract void initialize();

    abstract void startPlay();

    abstract void endPlay();

    public final void play() {
        initialize();
        startPlay();
        endPlay();
    }
}
